// app.js
App({
  onLaunch() {
    console.log( wx.canIUse('openBluetoothAdapter'));
   
   console.log(wx.getSystemInfoSync())
   var res = wx.getAccountInfoSync();
   console.log("当前设备的宽:"+ res.screenWidth);
   console.log("当前设备的高:"+ res.screenHeight);
   wx.getSystemInfo({
     success(res){
          console.log(res);
     }
   })
  }
})